//
//  BtnViewController.m
//  XiMaFM
//
//  Created by fanzhuxian on 2017/9/10.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import "BtnViewController.h"

@interface BtnViewController ()

@property (weak, nonatomic) IBOutlet UIWebView *webView;
@end

@implementation BtnViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    self.view.backgroundColor = [UIColor whiteColor];
    
    [self loadWebView];
}

- (void)loadWebView {

    NSURL * url = [NSURL URLWithString:@"http://www.baidu.com"];
    NSURLRequest * request = [NSURLRequest requestWithURL:url];
    [self.webView loadRequest:request];
    [self.view addSubview:self.webView];
    

}





@end
